
<style>

    .default,.blue{
        box-shadow: none;
        border: 1px solid;
        text-decoration: none;
        color: #fff;
        display: inline-block;
        padding: 6px 12px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        -ms-touch-action: manipulation;
        touch-action: manipulation;
        cursor: pointer;
    }
    .blue{
        background: #3c8dbc;
        color: #fff;
    }
</style>




<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">


        <div class="layui-form-item">
            <label for="shop_name" class="layui-form-label">
                <span class="x-red">*</span>应用庄家名称
            </label>
            <div class="layui-input-block">
                <input type="text" id="shop_name" name="name" required="" lay-verify="required"
                       autocomplete="off"  class="layui-input"  value="{$info.name|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (应用庄家名称)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="pid" class="layui-form-label">
                <span class="x-red">*</span>接入模式
            </label>
            <div class="layui-input-block">
                <select id="pid" name="type">


                    <option value="1" {notempty name="info['type']" }{if condition="  $info['type'] eq 1"} selected {/if}{/notempty}>余额模式</option>
                    <option value="2" {notempty name="info['type']" }{if condition="  $info['type'] eq 2"} selected {/if}{/notempty}>成数模式</option>
                </select>
            </div>
            <div class="layui-form-mid layui-word-aux">
                (接入模式)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="configuration_number" class="layui-form-label">
                <span class="x-red">*</span>配置成数
            </label>
            <div class="layui-input-block">
                <input type="number" id="configuration_number" name="configuration_number"  required="" lay-verify="required"
                       autocomplete="off"  class="layui-input"  value="{$info.configuration_number|default='0'}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (配置成数)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="return_point" class="layui-form-label">
                <span class="x-red">*</span>返点数
            </label>
            <div class="layui-input-block">
                <input type="number" id="return_point" name="return_point"  required="" lay-verify="required"
                       autocomplete="off"  class="layui-input"  value="{$info.return_point|default='0'}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (返点数)
            </div>
        </div>




        <div class="layui-form-item">
            <label for="account_address" class="layui-form-label">
                <span class="x-red">*</span>接口域名
            </label>
            <div class="layui-input-block">
                <input type="text" id="account_address" name="account_address"  required="" lay-verify="required"
                       autocomplete="off"  class="layui-input"  value="{$info.account_address|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (接口域名)
            </div>
        </div>


        <!--<div class="layui-form-item">-->
            <!--<label for="game_log_address" class="layui-form-label">-->
                <!--<span class="x-red">*</span>游戏记录接口地址-->
            <!--</label>-->
            <!--<div class="layui-input-block">-->
                <!--<input type="text" id="game_log_address" name="game_log_address"  required="" lay-verify="required"-->
                       <!--autocomplete="off"  class="layui-input"  value="{$info.game_log_address|default=''}">-->
            <!--</div>-->
            <!--<div class="layui-form-mid layui-word-aux">-->
                <!--(游戏记录接口地址)-->
            <!--</div>-->
        <!--</div>-->






        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>会员账号
            </label>
            <div class="layui-input-block">
                <input type="text" id="username" name="username"  required="" lay-verify="required"
                       autocomplete="off"  class="layui-input"  value="{$info.username|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (密钥)
            </div>
        </div>




        <div class="layui-form-item">
            <label for="remark" class="layui-form-label">
                备注描述
            </label>
            <div class="layui-input-block">
                <textarea id="remark" class="layui-textarea" name="remark" maxlength="80" onchange="this.value=this.value.substring(0, 80)" onkeydown="this.value=this.value.substring(0, 80)" onkeyup="this.value=this.value.substring(0, 80)"    rows="3" placeholder="请输入充值备注">{$info['describe']|default=''}</textarea>
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
            <!--(文章描述信息/简介)-->
            <!--</div>-->
        </div>



            <input type="hidden" name="id" value="{$info.id|default=''}"/>
        <div class="box-footer">
            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>


